<!DOCTYPE html>
{% load i18n %}
<html>
	<head>
		<title>Posecco</title>
		<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}script/posecco.css" />
		<script type="text/javascript" src="{{ STATIC_URL }}script/jquery-latest.js"></script>
		<script type="text/javascript" src="{{ STATIC_URL }}script/jquery-ui-1.8.20.custom.min.js"></script> 
		<script type="text/javascript" src="{{ STATIC_URL }}script/jquery.tablesorter.js"></script> 
		<script type="text/javascript" src="{{ STATIC_URL }}script/jquery.tablesorter.filter.js"></script> 
	</head>
	<body>
		<div id="top">
			{% if request.user %}
			<ul class="nav">
				<li><a href="{% url posecco:rfc 0 %}">{% trans "Add RFC" %}</a></li>
				<li><a href="{% url posecco:rfclist %}">{% trans "RFCs" %}</a></li>
				{% if request.useradmin %}
				<li><a href="{% url posecco:userlist %}">{% trans "Users" %}</a></li>
				{% endif %}
				{% if request.sysadmin %}
				<li><a href="{% url posecco:infrastructurelist %}">{% trans "Infrastructures" %}</a></li>
				<li><a href="{% url posecco:servicelist %}">{% trans "Services" %}</a></li>
				{% endif %}
				{% if request.change_manager %}
				<li><a href="{% url posecco:upload %}">{% trans "Import RFCs" %}</a></li>
				{% endif %}
				<li><a href="{% url posecco:export %}">{% trans "Export RFCs" %}</a></li>
				<li><a href="{% url posecco:home %}">{% trans "Logout" %}</a></li>
			</ul>
			{% endif %}
		</div>
		<div id="content">
			{% block content %}
			{% endblock %}
		</div>
		<div id="bottom">&copy; hanmiradi</div>
	</body>
</html>